package com.java.test;

public class Student {
//属性

	private String stuName;
	private String stuScore;
	private int stuAge;
	private String stuSex;

//构造姓名方法
	public Student(String stuName) {
		this.stuName = stuName;
		System.out.println("调用了构造方法");
	}

//行为
	public void doStuding() {
		System.out.println(stuName + " is Studing!!");
	}
}
